package com.company.project.vo.req.goods;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * @Description TODO(title)
 * @Author YangYulin
 * @Email YangYulinIt@136.com
 * @Date 2020/8/5
 * @Time 18:45
 * @Version V1.0.0
 * @ReviseHistory
 * @Title RevisePeople    Version    Edit    ReviseContent
 * @Split --------------------------------------------------------
 * @Column 杨玉林          1.0.0      create
 */
@Data
public class GoodsInsterReqVO {
//    @ApiModelProperty(value = "门店id")
//    @NotBlank(message = "门店id不能为空")
//    private String storeId;

    @ApiModelProperty(value = "goodsName")
    @NotBlank(message = "商品名称不能为空")
    private String goodsName;

    @ApiModelProperty(value = "money")
    private String money;

    @ApiModelProperty(value = "description")
    private String description;

    @ApiModelProperty(value = "coverImg")
    @NotBlank(message = "封面图片不能为空")
    private String coverImg;

    @ApiModelProperty(value = "type")
    @NotBlank(message = "商品类型不能为空")
    private String type;

    @ApiModelProperty(value = "content")
    private String content;

    @ApiModelProperty(value = "商品相册")
    private List<AlbumInsterReqVO> goodsAlbum;
}
